<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
*/

/**
 * Description of MultiFile
 *
 * @author chaporgin_a
 */
class VA_Form_ViewHelper_Email_MultiFile extends VA_Form_ViewHelper_Email_File {
    public function wrap() {
        $return = array();
        /* @var $v VA_Form_File_TemporaryFile */
        foreach ($this->getElement()->getValue() as $v) {
            $return[] = $this->wrapFile($v);
        }
        return join(',',$return);
    }
}
?>
